<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //赋值运算符(相当于简写)
        var a = 10
        a += 10;//20     a= a + 10;
        console.log(a);    
        a -= 5;//15      a= a - 5;
        console.log(a);
        a *= 2;//30      a= a * 2;
        console.log(a);
        a /= 3;//10      a= a / 3;
        console.log(a);
    </script>
</body>
</html>